package ink.ykb.actDemo.util.bean;

public enum LeaveState {
	/**
	 * 0：创建
	 */
	CREATE(0,"创建"),
	/**
	 * 1：审批中
	 */
	REVIEW(1,"审批中"),
	/**
	 * 2：审批通过
	 */
	PASS(2,"审批通过"),
	/**
	 * 3：驳回
	 */
	REJECT(3,"驳回"),
	/**
	 * 4：取消
	 */
	CANCEL(4,"取消");
	
	private int id;
	private String name;
	
	private LeaveState(int id, String name) {
		this.id = id;
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
	
}
